﻿create table [dbo].[SqlError]
(
	[SqlErrorId]                    int                 not null        identity(1, 1)
	, [ConcurrencyId]               rowversion          not null
	, [ErrorTime]                   datetime2           not null
	, [ErrorNumber]                 int                 not null
	, [ErrorSeverity]               int                 null
	, [ErrorState]                  int                 null
	, [ErrorProcedure]              nvarchar(256)       null
	, [ErrorLine]                   int                 null
	, [ErrorMessage]                nvarchar(4000)      not null
	, [User]                        sysname             not null
	, [Created]                     datetime2           not null
	, [Updated]                     datetime2           not null
)